import http from "../http/index"

export default {
    cateCount: {
        name: '类目总数',
        url: '/api/cateCount',
        call: async function (params: any = {}) {
            return await http.get(this.url, params)
        }
    },
    todayCount: {
        name: '类目今日新增数',
        url: '/api/todayCount',
        call: async function (params: any = {}) {
            return await http.get(this.url, params)
        }
    }
    ,
    proCount: {
        name: '商品总数',
        url: '/api/proCount',
        call: async function (params: any = {}) {
            return await http.get(this.url, params)
        }
    }
    ,
    protodayCount: {
        name: '商品今日新增数',
        url: '/api/protodayCount',
        call: async function (params: any = {}) {
            return await http.get(this.url, params)
        }
    },
    pieCount: {
        name: '饼状图',
        url: '/api/pieCount',
        call: async function (params: any = {}) {
            return await http.get(this.url, params)
        }
    }
}